package demo;
class Tree{
    static class TreeNode{
        public TreeNode child;        //子树
        public TreeNode nextbro;      //同一根结点的兄弟结点
        public char val;              //树的值
        public TreeNode(char val)
        {
            this.val = val;
        }
    }
    public TreeNode root;

    public  void creatTreeNode(TreeNode node)
    {
        if(root == null)
        {
            root = node;
            return;
        }
        creatTreeNode((root.child));
    }
}
public class treetest {
    public static void main(String[] args) {
        Tree tree = new Tree();

    }
}
